* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    line-height: 1.6;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: #fff;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.slider {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 80px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.slide.active {
    opacity: 1;
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f5f5f5;
}

.slide-content {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    color: #333;
    text-align: right;
    z-index: 2;
}

.slide-content h1 {
    font-size: 72px;
    margin-bottom: 20px;
    color: #fff;
}

.slide-content p {
    color: #fff;
}

.view-more {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 10px 20px;
    cursor: pointer;
    margin-top: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background: #fff;
}

.services {
    padding: 80px 0;
    text-align: center;
    position: relative;
}

.services h2::before,
.services h2::after,
.cases h2::before,
.cases h2::after,
.news h2::before,
.news h2::after {
    content: '';
    display: inline-block;
    width: 30px;
    height: 1px;
    background: #999;
    margin: 0 15px;
    vertical-align: middle;
}

.services h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.subtitle {
    color: #999;
    font-size: 14px;
    margin: 10px 0 50px;
    text-transform: uppercase;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.service-item {
    text-align: center;
}

.service-item .icon {
    width: 100px;
    height: 100px;
    border: 2px solid #4ECDC4;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.service-item:hover .icon {
    background: #4ECDC4;
}

.service-item:hover .icon img {
    filter: brightness(0) invert(1);
}

.service-item .icon img {
    width: 40px;
    height: 40px;
}

.service-item h3 {
    color: #333;
    margin-bottom: 15px;
}

.service-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.8;
}

.cases {
    padding: 80px 0;
    text-align: center;
    background: #fff;
}

.cases .subtitle {
    max-width: 800px;
    margin: 10px auto 50px;
}

.case-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.case-item {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.case-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-item:hover img {
    transform: scale(1.1);
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.case-item:hover .case-overlay {
    transform: translateY(0);
}

.view-more-cases {
    background: #4ECDC4;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 3px;
    cursor: pointer;
    margin-top: 30px;
    transition: background 0.3s ease;
}

.view-more-cases:hover {
    background: #3dbdb4;
}

.news {
    padding: 80px 0;
    text-align: center;
    background: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.news-image {
    grid-column: 1;
}

.news-image img {
    width: 100%;
    height: auto;
}

.news-list {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    display: grid;
    grid-template-columns: auto 1fr;
    text-align: left;
    align-items: start;
}

.news-date {
    color: #4ECDC4;
    text-align: center;
    padding: 0 20px;
    font-family: Arial, sans-serif;
}

.news-date .day {
    font-size: 36px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 5px;
}

.news-date .month {
    font-size: 14px;
    color: #999;
}

.news-content {
    padding: 0 20px;
    border-left: 1px solid #eee;
}

.news-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.news-content p {
    font-size: 14px;
    color: #999;
    line-height: 1.6;
}

.news-item:hover .news-content h3 {
    color: #4ECDC4;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-image {
        grid-column: 1;
    }
    
    .news-list {
        grid-column: 1;
    }
}

footer {
    background: #4ECDC4;
    color: white;
    padding: 20px 0;
    text-align: center;
    font-size: 14px;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

/* 添加全局过渡效果 */
a, button, .icon {
    transition: all 0.3s ease;
}

/* 优化导航栏 */
nav ul li a:hover {
    color: #4ECDC4;
}

/* 优化按钮样式 */
.view-more:hover {
    background: rgba(255,255,255,0.2);
}

.view-more-cases {
    background: #4ECDC4;
    border: none;
    color: white;
    padding: 10px 30px;
    border-radius: 3px;
    margin-top: 30px;
}
